package puyu.manage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import puyu.manage.service.asyn.TaskThreadPoolConfig;

@SpringBootApplication
@EnableConfigurationProperties({TaskThreadPoolConfig.class})
@MapperScan("puyu.manage.service.*.dao")
public class BackServiceApplication {

    public static void main(String[] args) {
        SpringApplication springApplication=new SpringApplication(BackServiceApplication.class);
        springApplication.setAdditionalProfiles("dev");
        springApplication.run(args);
        System.out.println("=================================================>溯源系统启动成功！");
    }


}
